package com.service.manage.imp;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.mapper.manage.RulePointDao;
import com.po.RulePoint;
import com.service.manage.RulePointService;
@Service
public class RulePointServiceImp implements RulePointService{
    @Resource(name="rulePointDao")
    private RulePointDao rulePointDao;

	@Override
	public List<RulePoint> getRulePointList(RulePoint rulePoint) {
		List<RulePoint> list=rulePointDao.getRulePointList(rulePoint);
		return list;
	}

	@Override
	public Integer getRulePointCount(RulePoint rulePoint) {
		int i=rulePointDao.getRulePointCount(rulePoint);
		return i;
	}

	@Override
	public int updateRulePoint(RulePoint rulePoint) {
		int i=rulePointDao.updateRulePoint(rulePoint);
		return i;
	}
	

}
